home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / a_utils / _archvrs / unix / comp430 / makefile.mnx < prev    next >
Makefile  |  1990-01-17  |  886b  |  34 lines

  1. # MAKEFILE.MNX
  2. # MAKE FILE FOR UNIX SYSTEMS (MINIX)
  3. # add what optimizion options your system supports
  4. # on some systems there may be no setvbuf() or the code may generate
  5. # errors if the large buffer is used for the stream, if so :
  6. # add -DNO_SETVBUF (this is done in compress.h under #ifdef UNIX  -Dal)
  7. # and if your system doesn't support either setvbuf or setbuf
  8. # add -DNO_SETBUF
  9. # add -DALLOC if your system uses alloc() instead of malloc()
  10. # add -DNOSIGNAL for faster processing on a unix pc
  11.  
  12. CFLAGS=-DMINIX -DUNIX -DNDEBUG
  13.  
  14. OFLAGS=
  15. LIB=
  16. PROG=compress
  17. OBJ=compress.o compusi.o compapi.o
  18. BIN=/usr/bin
  19.  
  20. $(PROG): $(OBJ)
  21.     cc -o $(PROG) $(OFLAGS) $(OBJ) $(LIB)
  22.     chmem =400000 $(PROG)
  23.  
  24. install:
  25.     cp $(PROG) $(BIN)
  26.     ln $(BIN)/$(PROG) $(BIN)/uncompress
  27.     ln $(BIN)/$(PROG) $(BIN)/zcat
  28.  
  29. compapi.o: compress.h
  30.  
  31. compress.o: compress.h
  32.  
  33. compusi.o: compress.h
  34.